import request from '@/utils/request'

// 查询业务流程配置列表
export function listWfConfigFlow(query) {
  return request({
    url: '/flow/wfConfigFlow/list',
    method: 'get',
    params: query
  })
}

// 查询业务流程配置详细
export function getWfConfigFlow(id) {
  return request({
    url: '/flow/wfConfigFlow/' + id,
    method: 'get'
  })
}

// 保存业务流程配置
export function saveWfConfigFlow(data) {
  return request({
    url: '/flow/wfConfigFlow/save',
    method: 'post',
    data: data
  })
}

// 删除业务流程配置
export function delWfConfigFlow(id) {
  return request({
    url: '/flow/wfConfigFlow/' + id,
    method: 'delete'
  })
}

// 导出业务流程配置
export function exportWfConfigFlow(query) {
  return request({
    url: '/flow/wfConfigFlow/export',
    method: 'get',
    params: query
  })
}

